package test;


public class Noneed {
	public static void main(String[] args) {
		long ll=System.currentTimeMillis();
		for (int i = 0; i < 9; i++) {
			for (int j = 0; j < 9; j++) {
				for (int j2 = 0; j2 < 9; j2++) {
					for (int k = 0; k < 9; k++) {
						for (int k2 = 0; k2 < 9; k2++) {
							for (int l = 0; l < 9; l++) {
								System.out.printf("%d%d%d%d%d%d\n",i,j,j2,k,k2,l);
							}
						}
					}
				}
			}
		}
		long l2=System.currentTimeMillis();
		System.out.println(l2-ll);
	}
}
